\hypertarget{classTuna_1_1TwoPhaseEquation}{
\subsection{Tuna::TwoPhaseEquation$<$ Tscheme $>$ Class Template Reference}
\label{classTuna_1_1TwoPhaseEquation}\index{Tuna::TwoPhaseEquation@{Tuna::TwoPhaseEquation}}
}


This class derives from \hyperlink{classTuna_1_1GeneralEquation}{GeneralEquation} through B \& N trick.  


Inheritance diagram for Tuna::TwoPhaseEquation$<$ Tscheme $>$:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classTuna_1_1TwoPhaseEquation}
\end{center}
\end{figure}
\subsubsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
typedef Typeinfo$<$ Tscheme $>$::\hyperlink{classTuna_1_1TwoPhaseEquation_a5491383644d06c7b9fa6a96e4bac3a7d}{prec\_\-t} \hyperlink{classTuna_1_1TwoPhaseEquation_a5491383644d06c7b9fa6a96e4bac3a7d}{prec\_\-t}
\begin{DoxyCompactList}\small\item\em Precision used for the numerical operations. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classTuna_1_1TwoPhaseEquation_af625c1598e648acaf3b3c195e2466a53}{TwoPhaseEquation} (ScalarField \&phi\_\-global, DiagMat \&matrix, ScalarField \&b, const floatTinyArray\_\-t \&deltas)
\begin{DoxyCompactList}\small\item\em Main constructor. \end{DoxyCompactList}\item 
Tscheme \& \hyperlink{classTuna_1_1TwoPhaseEquation_a3cfd0c50bb14834bdce42753e4a09668}{asDerived} ()
\begin{DoxyCompactList}\small\item\em The Curiously Recursive Template Pattern (CRTP) is used. \end{DoxyCompactList}\item 
\hypertarget{classTuna_1_1TwoPhaseEquation_affc0019eefe19c53b8c2a0dd6f1fdab1}{
bool \hyperlink{classTuna_1_1TwoPhaseEquation_affc0019eefe19c53b8c2a0dd6f1fdab1}{calcCoefficients} ()}
\label{classTuna_1_1TwoPhaseEquation_affc0019eefe19c53b8c2a0dd6f1fdab1}

\begin{DoxyCompactList}\small\item\em Call to the functions defined in the derived classes. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsubsection{Detailed Description}
\subsubsection*{template$<$typename Tscheme$>$class Tuna::TwoPhaseEquation$<$ Tscheme $>$}

In this class some particular variables and methods for scalar PDE's are defined.

\begin{DoxyAuthor}{Author}
Luis M. de la Cruz \mbox{[} Mon May 4 16:20:22 CDT 2009 \mbox{]} 
\end{DoxyAuthor}


Definition at line 47 of file TwoPhaseEquation.hpp.



\subsubsection{Member Typedef Documentation}
\hypertarget{classTuna_1_1TwoPhaseEquation_a5491383644d06c7b9fa6a96e4bac3a7d}{
\index{Tuna::TwoPhaseEquation@{Tuna::TwoPhaseEquation}!prec\_\-t@{prec\_\-t}}
\index{prec\_\-t@{prec\_\-t}!Tuna::TwoPhaseEquation@{Tuna::TwoPhaseEquation}}
\paragraph[{prec\_\-t}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename Tscheme$>$ typedef Typeinfo$<$Tscheme$>$::{\bf prec\_\-t} {\bf Tuna::TwoPhaseEquation}$<$ Tscheme $>$::{\bf prec\_\-t}}}
\label{classTuna_1_1TwoPhaseEquation_a5491383644d06c7b9fa6a96e4bac3a7d}


Reimplemented from \hyperlink{classTuna_1_1GeneralEquation_a39e7293ae9e10a2fc90f422da1d28ecd}{Tuna::GeneralEquation$<$ TwoPhaseEquation$<$ Tscheme $>$ $>$}.



Definition at line 52 of file TwoPhaseEquation.hpp.



\subsubsection{Constructor \& Destructor Documentation}
\hypertarget{classTuna_1_1TwoPhaseEquation_af625c1598e648acaf3b3c195e2466a53}{
\index{Tuna::TwoPhaseEquation@{Tuna::TwoPhaseEquation}!TwoPhaseEquation@{TwoPhaseEquation}}
\index{TwoPhaseEquation@{TwoPhaseEquation}!Tuna::TwoPhaseEquation@{Tuna::TwoPhaseEquation}}
\paragraph[{TwoPhaseEquation}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename Tscheme$>$ {\bf Tuna::TwoPhaseEquation}$<$ Tscheme $>$::{\bf TwoPhaseEquation} (
\begin{DoxyParamCaption}
\item[{ScalarField \&}]{phi\_\-global, }
\item[{DiagMat \&}]{matrix, }
\item[{ScalarField \&}]{b, }
\item[{const floatTinyArray\_\-t \&}]{deltas}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classTuna_1_1TwoPhaseEquation_af625c1598e648acaf3b3c195e2466a53}
The scalarfield {\ttfamily phi\_\-0} defined here is a reference to a global field variable. Here {\ttfamily phi\_\-0} is used as an old value of that field variable. 

Definition at line 66 of file TwoPhaseEquation.hpp.



\subsubsection{Member Function Documentation}
\hypertarget{classTuna_1_1TwoPhaseEquation_a3cfd0c50bb14834bdce42753e4a09668}{
\index{Tuna::TwoPhaseEquation@{Tuna::TwoPhaseEquation}!asDerived@{asDerived}}
\index{asDerived@{asDerived}!Tuna::TwoPhaseEquation@{Tuna::TwoPhaseEquation}}
\paragraph[{asDerived}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename Tscheme$>$ Tscheme\& {\bf Tuna::TwoPhaseEquation}$<$ Tscheme $>$::asDerived (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classTuna_1_1TwoPhaseEquation_a3cfd0c50bb14834bdce42753e4a09668}
\hyperlink{classTuna_1_1TwoPhaseEquation_a3cfd0c50bb14834bdce42753e4a09668}{asDerived()} gets an returns a reference to the derived class. 

Reimplemented from \hyperlink{classTuna_1_1GeneralEquation_aac63dc10324dcfdd7aaabdc63ec0c67f}{Tuna::GeneralEquation$<$ TwoPhaseEquation$<$ Tscheme $>$ $>$}.



Definition at line 83 of file TwoPhaseEquation.hpp.

